package edu.ustb.aop;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class AroundAdvice implements MethodInterceptor {

	@Override
	public Object invoke(MethodInvocation invoke) throws Throwable {
		System.out.println("环绕通知开始执行。。。");
		Object result = invoke.proceed();
		System.out.println("环绕通知执行完毕。。。");
		return result;
	}

}
